package com.yaodian100.ec.supplierapply.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.yaodian100.core.common.entity.BaseEntity;

@Entity
@Table(name = "EC_BO_TO_WH_DATE")
public class BOToWHDate extends BaseEntity {
	private static final long serialVersionUID = -1914236917845699300L;

	// SEQ
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO, generator = "seq_bo_to_wh_date_id")
	@SequenceGenerator(name = "seq_bo_to_wh_date_id", sequenceName = "seq_bo_to_wh_date_id")
	@Column(name = "OID")
	private long oid;

	// 供應商省份
	@Column(name = "FROM_PROVINCE", length = 20)
	private String fromPROVINCE;

	// 倉庫省份：目前僅有上海
	@Column(name = "TO_PROVINCE", length = 20)
	private String toPROVINCE;

	// 預計到倉天數
	private Integer toWHDate;

	public long getOid() {
		return oid;
	}

	public void setOid(long oid) {
		this.oid = oid;
	}

	public String getFromPROVINCE() {
		return fromPROVINCE;
	}

	public void setFromPROVINCE(String fromPROVINCE) {
		this.fromPROVINCE = fromPROVINCE;
	}

	public String getToPROVINCE() {
		return toPROVINCE;
	}

	public void setToPROVINCE(String toPROVINCE) {
		this.toPROVINCE = toPROVINCE;
	}

	public Integer getToWHDate() {
		return toWHDate;
	}

	public void setToWHDate(Integer toWHDate) {
		this.toWHDate = toWHDate;
	}
}
